//引入配置好的axios
import request from '@/utils/request'
 
// 登录
export function login(data) {
    return request({
      url: '/user/bdc/login',
      method: 'get',
      params: data
    });
  }

//获取用户列表
export const getUserList = () => { return request(
    { url: '/bdc/bdc/test', method: 'get' }
    ) 
}
// export const getUserList = () => { return request(
//     { url: '/user/bdc/login', method: 'get' }
//     ) 
// }
//增加用户
export const addUser = data => { return request(
    { url: '你的接口地址', method: 'post', data }
    )
 }